package main

import (
	"fmt"
	"reflect"
)

func reflectPrint(a interface{}) {

	//*a = 99
	//	//fmt.Println(*a)
	v := reflect.ValueOf(a)
	fmt.Println(v.Kind())

	//if v.Kind() == reflect.Int64 {
	//	fmt.Println(v.Int())
	//
	//}
	if v.Elem().Kind() == reflect.Int64 {
		v.Elem().SetInt(125)
		//fmt.Println(v.Int())
	}

}
func main() {
	var a int64 = 9
	fmt.Println(a)

	reflectPrint(&a)
	fmt.Println(a)
}
